package cn.oms.manage.service;

import cn.oms.commons.pojo.vo.PageData;
import cn.oms.manage.pojo.param.CustomerAddNewParam;
import cn.oms.manage.pojo.param.CustomerUpdateInfoParam;
import cn.oms.manage.pojo.vo.CustomerListItemVO;
import cn.oms.manage.pojo.vo.CustomerStandardVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface ICustomerService {
    void addNew(CustomerAddNewParam customerAddNewParam);

    void delete(Long id);

    void updateInfoById(Long id, CustomerUpdateInfoParam customerUpdateInfoParam);

    CustomerStandardVO getStandardById(Long id);

    PageData<CustomerListItemVO> list(Integer pageNum);

    PageData<CustomerListItemVO> list(Integer pageNum, Integer pageSize);


}
